<template>
  <el-table
    :data="inventtory"
    height="250"
    border
    style="width: 75%">
    <el-table-column
      prop="product_name"
      label="产品名称"
      width="180">
    </el-table-column>
    <el-table-column
      prop="product_model"
      label="产品型号"
      width="180">
    </el-table-column>
    <el-table-column
      prop="material_code"
      label="产品编码"
      width="180">
    </el-table-column>
    <el-table-column
      prop="warehouse_id"
      label="仓库编码"
       width="180">
    </el-table-column>
     <el-table-column
      prop="warehousename"
      label="仓库名称"
       width="180">
    </el-table-column>
     <el-table-column
      prop="warehouse_num"
      label="库存数量"
       width="180">
    </el-table-column>
  </el-table>
  
</template>

<script>
  export default {
    props:{
       inventtory:"",
    },
       data() {
      return {
        tableData: [{
          date: '2016-05-03',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1518 弄'
        }, {
          date: '2016-05-02',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1518 弄'
        }, {
          date: '2016-05-04',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1518 弄'
        }, {
          date: '2016-05-01',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1518 弄'
        }, {
          date: '2016-05-08',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1518 弄'
        }, {
          date: '2016-05-06',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1518 弄'
        }, {
          date: '2016-05-07',
          name: '王小虎',
          address: '上海市普陀区金沙江路 1518 弄'
        }]
      }
    }
  }
</script>